<template>
    <el-table :data="user" border style="width: 100%">
      <el-table-column prop="permissonName" label="权限名称" align="center"/>
      <el-table-column prop="permissonValue" label="权限路径" align="center" />
      <el-table-column prop="序号" label="perseId" align="center" />
    </el-table>
  </template>
  
  <script lang="ts" setup>
  import { ref,reactive,onMounted } from 'vue'
  import { read } from '@/Until/axiosHepler'
  import { useCounterStore } from '@/stores/counter'
  const stores = useCounterStore();
  import { useRouter,useRoute } from 'vue-router';
  const route=useRoute();
  const router=useRouter();
  const user=ref([]);
  onMounted(()=>{
    read.get("/api/Permission/GetPermissionList").then((res)=>{
      user.value=res.data.data;
    })
  })
  </script>
  <style>
 </style>
  